<%--
  Created by IntelliJ IDEA.
  User: lk
  Date: 2023/11/8
  Time: 9:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../common/IncludeTop.jsp"%>

${sessionScope.messageAccount}

<div id="Catalog">
    <form action="newAccount" method="post">
        <h3>User Information</h3>

        <table>
            <tr>
                <td>User ID:</td>
                <td>
                <input type="text" name="username" id="username"  onblur="usernameIsExist();"/>
                    <div id="feedback"></div>
                    <script src="js/NewUserRegister.js"></script>
                </td>
            </tr>

            <tr>
                <td>New password:</td>
                <td><input type="password" name="password" /></td>
            </tr>
            <tr>
                <td>Repeat password:</td>
                <td><input type="password" name="repeatedPassword" /></td>
            </tr>
            <tr>
                <td>VerificationCode:</td>
                <td>
                    <input type="text" name="vCode" size="5" maxlength="4"/>
                    <a href="newAccount"><img border="0" src="verificationCode" name="checkcode"></a>
                </td>
            </tr>
        </table>

        <%@ include file="IncludeAccountFields.jsp"%>
        <input type="submit" name="newAccount" value="Save Account Information" />
    </form>
</div>
<script src="js/NewUserRegister.js"></script>
<%@ include file="../common/IncludeBottom.jsp"%>